/*style reset*/
html,body,div,header,main,footer,nav,ul,li,h1,h2,h3,h4,h5,h6 {
  margin: 0;
  padding: 0;
}
img {
  border: 0;
}
a {
  text-decoration: none;
}
/*NORMAL style*/
.clearfix:after {
  content:"";
  display: block;
  clear: both;
}
.clearfix {
  *zoom: 1;
}
h1 {
  font-size: 36px;
  font-weight: 500;
}
ul,li {
  list-style: none;
}
body {
  font-size: 14px;
  font-family: "微软雅黑","Helvetica Neue",serif;
  line-height: 1.5;
  background-color: #f5f5f5;
}
.indent {
  text-indent: 3em;
}
/*header style*/
header {
  -webkit-transition: all .5s;
  transition: all .5s;
}
header>.topbar {
  padding: 15px 15px 120px;
  text-align: center;
  -webkit-transition: all .5s;
  transition: all .5s;
}
header>.topbar>ul {
  float: left;
}
header>.topbar>ul>li {
  float: left;
}
header>.topbar>ul>li>a {
  display: block;
  color: rgba(255,255,255,.8);
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  margin: 0 14px;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 50%;
  -webkit-transition: all .5s;
  transition: all .5s;
}
header>.topbar>ul>li>a:hover {
  color: #fff;
  border-color: #fff;
}
header>.topbar>.hire {
  float: right;
  margin-right: 10px;
}
header>.topbar>.hire>a {
  display: block;
  padding: 10px 15px;
  border-radius: 5px;
  color: rgba(255,255,255,.8);
  -webkit-transition: all .5s;
  transition: all .5s;
}
header>.topbar>.hire>a:hover {
  box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
  color: #fff;
}
header>.intro {
  text-align: center;
  color: #fff;
  -webkit-transition: all .5s;
  transition: all .5s;
  padding: 90px 0;
}
header>.intro p {
  text-align: left;
  margin-bottom: 10px;
}
header>.intro>h1 {
  margin-bottom: 15px;
}
header>.intro>h4 {
  font-size: 22px;
  font-weight: 300;
  color: rgba(255,255,255,.8);
  margin-bottom: 30px;
}
header>.intro>p {
  width: 767px;
  margin: 0 auto;
  line-height: 1.5;
  box-sizing: border-box;
  padding: 0 20px;
}
header>.contact {
  text-align: center;
  -webkit-transition: all .5s;
  transition: all .5s;
  padding: 30px 0;
}
header>.contact>ul>li {
  display: inline-block;
  *display: inline;
  margin: 0 10px;
}
header>.contact>ul>li>a {
  color: rgba(255,255,255,.8);
}
header>.contact>ul>li>a:hover {
  color: #fff;
  text-decoration: underline;
}
/*navbar style*/
nav {
  text-align: center;
  padding: 20px 0;
  -webkit-transition: all .4s;
  transition: all .4s;
}
nav>ul>li {
  display: inline-block;
  *display: inline;
}
nav>ul>li>a {
  display: block;
  margin: 0 20px;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
}
nav>ul>li>a:hover {
  color: rgba(255,255,255,.9);
}
nav>ul>li>a.active {
  color: #fff;
}
/*main style*/
main>#skill .progress {
  width: 100px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  margin: 0 auto 20px;
  border-radius:50%;
  border: 7px solid;
  position: relative;
  color: #030303;
  font-weight: 500;
  -webkit-transition: all .5s;
  transition: all .5s;
}
main>#skill .progress:before {
  content:"";
  display: block;
  width: 100px;
  height: 100px;
  border-radius:50%;
  border: 7px solid;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  position: absolute;
  top: -7px;
  left: -7px;
  -webkit-transition: all .5s;
  transition: all .5s;
}
main>#skill .progress:after {
  content:"";
  display: block;
  width: 100px;
  height: 100px;
  border-radius:50%;
  border: 7px solid;
  position: absolute;
  top: -7px;
  left: -7px;
  -webkit-transition: all .5s;
  transition: all .5s;
}
main>#skill a {
  color: #03A9F4;
}
main>#skill a:hover {
  color: green;
}
main>#skill .progress.html:after {
  -webkit-transform: rotate(-22deg);
          transform: rotate(-22deg);
}
main>#skill .progress.jquery:after {
  -webkit-transform: rotate(-15deg);
          transform: rotate(-15deg);
}
main>#skill .progress.html5:after {
  -webkit-transform: rotate(50deg);
          transform: rotate(50deg);
}
main>#skill .progress.js:after {
  -webkit-transform: rotate(-5deg);
          transform: rotate(-5deg);
}
main>#skill .progress.webpack:after {
  -webkit-transform: rotate(70deg);
          transform: rotate(70deg);
}
main>#skill .progress.bootstrap:after {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
main>.layout {
  width: 1050px;
  padding: 45px;
  background-color: #fff;
  margin: 10px auto;
  color: #494d55;
  text-align: center;
}
main>.layout>ul>li {
  float: left;
  width: 350px;
  box-sizing: border-box;
  padding: 20px;

}
main #skill>.more {
  marin: 30px 100px;
}
main #skill>.more>h3 {
  margin: 20px 0;
}
main #skill>.more>span {
  display: inline-block;
  padding: 6px 30px;
  margin: 10px;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  border: 1px solid #f5f5f5;
}
main>#experience>.tree {
  margin-top: 50px;
  border-left: 5px solid #8bc34a;
  text-align: left;
}
main #experience .tree .experience {
  position: relative;
  padding-left: 20px;
}
main #experience .tree .experience:before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 3px solid #009688;
  background-color: #fff;
  z-index: 1234;
  position: absolute;
  top: 0px;
  left: -10px;

}
main #portfolio>ul>li img {
  width: 100%;
}
main #portfolio>ul>li .list {
  position: relative;
  overflow: hidden;
}
main #portfolio>ul>li .list>a {
  color: rgba(0,0,0,.8);
}
main #portfolio>ul>li .list .descri {
  position: absolute;
  background-color: rgba(255,255,255,.9);
  width: 100%;
  top: 90px;
  -webkit-transition: all .5s;
  transition: all .5s;
  z-index: 80;
  box-sizing: border-box;
  padding: 10px 20px;
}
main #portfolio>ul>li .list:hover .descri {
  top: 30px;
}
main #portfolio>ul>li .list>.btn-group {
  position: relative;
  z-index: 100;
  background-color: #fff;
}
main #portfolio>ul>li .list>.btn-group>a {
  display: block;
  padding: 5px 10px;
  color: rgba(255,255,255,.8);
  margin: 10px;
  border-radius: 4px;
  -webkit-transition: all .5s;
  transition: all .5s;
}
main #portfolio>ul>li .list>.btn-group>a:hover {
  color: #fff;
}
main #portfolio>ul>li .list>.btn-group>.left {
  float: left;
}
main #portfolio>ul>li .list>.btn-group>.right {
  float: right;
}
main>#info {
  text-align: left;
}
main>#info>h1 {
  text-align: center;
  margin-bottom: 40px;
}
main>#info>.left {
  float: left;
  width: 30%;
}
main>#info>.right {
  float: right;
  width: 70%;
}
main>#info ul>li {
  float: none;
  display: inline-block;
  *display: inline;
  width: auto;
  padding: 10px;
}
main>#info ul>li>a {
  color: rgba(0,0,0,.7);
  font-size: 20px;
  -webkit-transition: all .3s;
  transition: all .3s;
  display: block;
}
main>#info ul>li>a:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
/*go top style*/
#top {
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  position: fixed;
  right: 10px;
  bottom: 10px;
  -webkit-transition: all .5s;
  transition: all .5s;
  display: none;
}
#top:hover {
  color: #fff;
  box-shadow: 0 0 5px #ccc;
}
/*theme choice model*/
#color-picker {
  position: fixed;
  top: 50%;
  right: -144px;
  z-index: 2000;
  margin-top: -20px;
  -webkit-transition: all .4s;
  transition: all .4s;
}
#color-picker>.picker {
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background-color: rgba(0,0,0,.6);
  color: rgba(255,255,255,.8);
  cursor: pointer;
  float: left;
}
#color-picker>.picker:hover {
  color: #fff;
  background-color: rgba(0,0,0,.7);
}
#color-picker>.theme {
  background-color: rgba(0,0,0,.6);
  width: 144px;
  float: left;
}
#color-picker>.theme>ul>li {
  float: left;
  width: 28px;
  height: 20px;
  margin: 10px;
  cursor: pointer;
  box-sizing: border-box;
}
#color-picker>.theme>ul>li.active {
  border: 2px solid #fff;
}
#color-picker>.theme>ul>.theme-1 {
  background-color: #4CAF50;
}
#color-picker>.theme>ul>.theme-2 {
  background-color: #00BCD4;
}
#color-picker>.theme>ul>.theme-3 {
  background-color: #9C27B0;
}
#color-picker>.theme>ul>.theme-4 {
  background-color: #795548;
}
#color-picker>.theme>ul>.theme-5 {
  background-color: #3F51B5;
}
#color-picker>.theme>ul>.theme-6 {
  background-color: #C0CA33;
}
#color-picker>.theme>ul>.theme-7 {
  background-color: #009688;
}
#color-picker>.theme>ul>.theme-8 {
  background-color: #607D8B;
}
#color-picker>.theme>ul>.theme-9 {
  background-color: #8BC34A;
}

/*-----------------------------theme color picker ---------------*/
/*----theme-1 style----*/
header.theme-1,header>.topbar>.hire>a.theme-1:hover,main #portfolio>ul>li .list>.btn-group>a.theme-1 {
  background-color: #449d48;
}
header>.topbar.theme-1 {
  background-color: #4caf50;
}
header>.topbar>.hire>a.theme-1,header>.contact.theme-1,#top.theme-1 {
  background-color: #3d8b43;
}
nav.theme-1,#top.theme-1:hover {
  background-color: #357a38;
}
main>#skill .progress.theme-1 {
  border-color: #ccc #ccc #3d8b40 #3d8b40;
}
main>#skill .progress.theme-1:before {
  border-color: transparent transparent #3d8b40 #3d8b40;
}
main>#skill .progress.theme-1:after {
  border-color: transparent #3d8b40 #3d8b40 transparent;
}
main>#info ul>li>a.theme-1:hover {
  color: #449d48;
}
/*----theme-2 style----*/
header.theme-2,header>.topbar>.hire>a.theme-2:hover,main #portfolio>ul>li .list>.btn-group>a.theme-2 {
  background-color: #00a5bb;
}
main>#info ul>li>a.theme-2:hover {
  color: #00a5bb;
}
header>.topbar.theme-2 {
  background-color: #00BCD4;
}
header>.topbar>.hire>a.theme-2,header>.contact.theme-2,#top.theme-2 {
  background-color: #008fa1;
}
nav.theme-2,#top.theme-2:hover {
  background-color: #007888;
}
main>#skill .progress.theme-2 {
  border-color: #ccc #ccc #00BCD4 #00BCD4;
}
main>#skill .progress.theme-2:before {
  border-color: transparent transparent #00BCD4 #00BCD4;
}
main>#skill .progress.theme-2:after {
  border-color: transparent #00BCD4 #00BCD4 transparent;
}
/*----theme-3 style----*/
header.theme-3,header>.topbar>.hire>a.theme-3:hover,main #portfolio>ul>li .list>.btn-group>a.theme-3 {
  background-color: #89229b;
}
main>#info ul>li>a.theme-3:hover {
  color: #89229b;
}
header>.topbar.theme-3 {
  background-color: #9C27B0;
}
header>.topbar>.hire>a.theme-3,header>.contact.theme-3,#top.theme-3 {
  background-color: #771e86;
}
nav.theme-3,#top.theme-3:hover {
  background-color: #641971;
}
main>#skill .progress.theme-3 {
  border-color: #ccc #ccc #9C27B0 #9C27B0;
}
main>#skill .progress.theme-3:before {
  border-color: transparent transparent #9C27B0 #9C27B0;
}
main>#skill .progress.theme-3:after {
  border-color: transparent #9C27B0 #9C27B0 transparent;
}
/*----theme-4 style----*/
header.theme-4,header>.topbar>.hire>a.theme-4:hover,main #portfolio>ul>li .list>.btn-group>a.theme-4 {
  background-color: #694a3e;
}
main>#info ul>li>a.theme-4:hover {
  color: #694a3e;
}
header>.topbar.theme-4 {
  background-color: #795548;
}
header>.topbar>.hire>a.theme-4,header>.contact.theme-4,#top.theme-4 {
  background-color: #593f35;
}
nav.theme-4,#top.theme-4:hover {
  background-color: #49332b;
}
main>#skill .progress.theme-4 {
  border-color: #ccc #ccc #795548 #795548;
}
main>#skill .progress.theme-4:before {
  border-color: transparent transparent #795548 #795548;
}
main>#skill .progress.theme-4:after {
  border-color: transparent #795548 #795548 transparent;
}
/*----theme5 style----*/
header.theme-5,header>.topbar>.hire>a.theme-5:hover,main #portfolio>ul>li .list>.btn-group>a.theme-5 {
  background-color: #3849a2;
}
main>#info ul>li>a.theme-5:hover {
  color: #3849a2;
}
header>.topbar.theme-5 {
  background-color: #3F51B5;
}
header>.topbar>.hire>a.theme-5,header>.contact.theme-5,#top.theme-5 {
  background-color: #32408f;
}
nav.theme-5,#top.theme-5:hover {
  background-color: #2b387c;
}
main>#skill .progress.theme-5 {
  border-color: #ccc #ccc #3F51B5 #3F51B5;
}
main>#skill .progress.theme-5:before {
  border-color: transparent transparent #3F51B5 #3F51B5;
}
main>#skill .progress.theme-5:after {
  border-color: transparent #3F51B5 #3F51B5 transparent;
}
/*----theme-6 style----*/
header.theme-6,header>.topbar>.hire>a.theme-6:hover,main #portfolio>ul>li .list>.btn-group>a.theme-6 {
  background-color: #adb62e;
}
main>#info ul>li>a.theme-6:hover {
  color: #adb62e;
}
header>.topbar.theme-6 {
  background-color: #C0CA33;
}
header>.topbar>.hire>a.theme-6,header>.contact.theme-6,#top.theme-6 {
  background-color: #99a129;
}
nav.theme-6,#top.theme-6:hover {
  background-color: #868d24;
}
main>#skill .progress.theme-6 {
  border-color: #ccc #ccc #C0CA33 #C0CA33;
}
main>#skill .progress.theme-6:before {
  border-color: transparent transparent #C0CA33 #C0CA33;
}
main>#skill .progress.theme-6:after {
  border-color: transparent #C0CA33 #C0CA33 transparent;
}
/*----theme-7 style----*/
header.theme-7,header>.topbar>.hire>a.theme-7:hover,main #portfolio>ul>li .list>.btn-group>a.theme-7 {
  background-color: #007d71;
}
main>#info ul>li>a.theme-7:hover {
  color: #007d71;
}
header>.topbar.theme-7 {
  background-color: #009688;
}
header>.topbar>.hire>a.theme-7,header>.contact.theme-7,#top.theme-7 {
  background-color: #00635a;
}
nav.theme-7,#top.theme-7:hover {
  background-color: #004a43;
}
main>#skill .progress.theme-7 {
  border-color: #ccc #ccc #009688 #009688;
}
main>#skill .progress.theme-7:before {
  border-color: transparent transparent #009688 #009688;
}
main>#skill .progress.theme-7:after {
  border-color: transparent #009688 #009688 transparent;
}
/*----theme-8 style----*/
header.theme-8,header>.topbar>.hire>a.theme-8:hover,main #portfolio>ul>li .list>.btn-group>a.theme-8 {
  background-color: #566f7c;
}
main>#info ul>li>a.theme-8:hover {
  color: #566f7c;
}
header>.topbar.theme-8 {
  background-color: #607D8B;
}
header>.topbar>.hire>a.theme-8,header>.contact.theme-8,#top.theme-8 {
  background-color: #4b626d;
}
nav.theme-8,#top.theme-8:hover {
  background-color: #41545e;
}
main>#skill .progress.theme-8 {
  border-color: #ccc #ccc #607D8B #607D8B;
}
main>#skill .progress.theme-8:before {
  border-color: transparent transparent #607D8B #607D8B;
}
main>#skill .progress.theme-8:after {
  border-color: transparent #607D8B #607D8B transparent;
}
/*----theme-9 style----*/
header.theme-9,header>.topbar>.hire>a.theme-9:hover,main #portfolio>ul>li .list>.btn-group>a.theme-9 {
  background-color: #7eb73d;
}
main>#info ul>li>a.theme-9:hover {
  color: #7eb73d;
}
header>.topbar.theme-9 {
  background-color: #8BC34A;
}
header>.topbar>.hire>a.theme-9,header>.contact.theme-9,#top.theme-9 {
  background-color: #71a436;
}
nav.theme-9,#top.theme-9:hover {
  background-color: #649130;
}
main>#skill .progress.theme-9 {
  border-color: #ccc #ccc #7eb73d #7eb73d;
}
main>#skill .progress.theme-9:before {
  border-color: transparent transparent #7eb73d #7eb73d;
}
main>#skill .progress.theme-9:after {
  border-color: transparent #7eb73d #7eb73d transparent;
}
/*-----------------------------background color end ---------------*/

/*------------------------@media  ---------------*/
@media screen and (min-width: 767px) {
  main #experience .tree {
    margin-left: 25%;
    margin-right: 25%;
  }
}
@media screen and (max-width: 960px) {
  main>.layout {
    width: 630px;
  }
  main>.layout>ul>li {
    width: 210px;
  }
  main>#portfolio>ul>li>.list .descri {
    position: static;
    height: 250px;
  }
  main>#info>.left {
    width: 40%;
  }
  main>#info>.right {
    width: 60%;
  }
}
@media screen and (max-width: 767px) {
  header>.topbar>ul {
    display: inline-block;
    float: none;
  }
  header>.topbar>.hire {
    display: none;
  }
  header>.intro>p {
    width: auto;
  }
  header>.contact>ul>li {
    display: block;
    margin-top: 10px;
  }
  main>#portfolio>ul>li>.list .descri {
    height: 200px;
    background-color: #fff;
  }
  nav {
    display: none;
  }
  main>.layout {
    width: 500px;
  }
  main>.layout>ul>li {
    width: 250px;
  }
  main>#info>.left {
    width: 50%;
  }
  main>#info>.right {
    width: 50%;
  }
}
@media screen and (max-width: 600px) {
    main>.layout {
    width: 300px;
  }
  main>.layout>ul>li {
    width: 300px;
  }
  main>#info>.left,main>#info>.right {
    float: none;
    width: auto;
  }
}
@media screen and (max-width: 390px) {
  header>.topbar>ul>li>a {
    margin: 0 5px;
  }
  main>.layout {
    width: 200px;
  }
  main>.layout>ul>li {
    width: 200px;
  }
  main>#info ul>li {
    padding: 5px;
  }
}
@media (max-width: 500px) and (max-height: 750px) {
  header>.topbar {
    padding-bottom: 20px;
  }
  header>.intro {
    padding: 50px 0;
  }
}
@media print {
  #color-picker {
    display: none;
  }
  main>#portfolio>ul>li>.list .descri {
    position: static;
    height: 150px;

  }
  nav {
    display: none;
  }
}